import React, { Component } from 'react';

import queryString from 'query-string'

class Index extends Component {
    render() {
        return (
            <div>
                detail
            </div>
        );
    }
    componentDidMount() {
        console.log(window.location.search);//拿到get传值
        // console.log(this.props.location.search);
        // console.log(this.props.location.query,'3');
        // console.log(queryString.parse(search))
    }
}

export default Index;
